﻿/*========================================================================================
	TASK 7:                                                   { Operators and Expressions}
	Write an expression that checks if given positive integer number n (n ≤ 100) is prime.
    E.g. 37 is prime.      
========================================================================================*/

using System;

class PrimeNumbers0to100
{
    static void Main()
    {
        int n = 101;

        for (int i = 2; i <= (n - 1); i++)
        {
            if (n % i == 0)
            {
                Console.WriteLine("{0} is complex number", n);
                break;
            }
        }

        Console.WriteLine("{0} is prime number", n);
    }
}

